<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
  <style>
    /*子孙后代选择器*/
    /*body p{
        color : red;
    }*/
    /*子元素选择器*/
    body>div>p{
      color: red;
    }
    a:link{color: red}/*未访问状态*/
    a:visited{color: pink}/*访问过*/
    a:hover{color: yellow}/*点击*/
  </style>
</head>
<body>
<a href="http://www.youku.com">超链接1</a>
<a href="../day01/01文本相关标签.html">超链接2</a>
<a href="../day01/02列表标签.html">超链接3</a>
<p>p1</p>
<div>
  <p>p2</p>
</div>
<div>
  <p>p3</p>
  <div>
    <p>p4</p>
  </div>
</div>
</body>
</html>